<!DOCTYPE html>
<html>
	<head>

		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">

		<title>后台 - 采矿记录</title>
		<meta name="keywords" content="">
		<meta name="description" content="">

		<link rel="shortcut icon" href="favicon.ico">
		<link href="__PUBLIC__/Admin/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
		<link href="__PUBLIC__/Admin/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
		<link href="__PUBLIC__/Admin/css/plugins/iCheck/custom.css" rel="stylesheet">
		<link href="__PUBLIC__/Admin/css/style.min862f.css?v=4.1.0" rel="stylesheet">

	</head>
	<style>
		/*分页样式*/
		.pages a,.pages span {
		    display:inline-block;
		    padding:4px 7px;
		    margin:0 2px;
		    border:1px solid #D5D4D4;
		    -webkit-border-radius:1px;
		    -moz-border-radius:1px;
		    border-radius:1px;
		}
		.pages a,.pages li {
		    display:inline-block;
		    list-style: none;
		    text-decoration:none; color:#3399ff;
		}
		
		.pages a:hover{
		    border-color:#3399ff;
		}
		.pages span.current{
		    background:#3399ff;
		    color:#FFF;
		    font-weight:700;
		    border-color:#3399ff;
		}
		.pages{
			text-align: center;
		}
		/*分页样式*/
	</style>
	<body class="gray-bg">
		<div class="wrapper wrapper-content animated fadeInRight">	
			<div class="row">
				<div class="col-sm-12">
					<div class="ibox float-e-margins">
						<div class="ibox-title">
							<h5>采矿记录</h5>
						</div>
						<div class="ibox-content">
							<!-- <div class="">
								<a href="{:U('Admin/Order/excel')}" class="btn btn-primary J_menuItem">导出excel</a>
							</div> -->
							<div class="row">
								<div class="col-sm-12">
									<form method="get" class="form-horizontal m-t" action="{:U('Admin/Order/index')}">
	                                    <div class="form-group">
	                                        <div class="col-sm-12">
	                                    
	                                            <input placeholder="开始日期" class="form-control layer-date" value="{$starttime}" name="starttime" id="start">
	                                            <input placeholder="结束日期" class="form-control layer-date" value="{$endtime}" name="endtime" id="end">
	                                        	<input style="margin-top: 15px;" type="submit" class="btn btn-primary" value="搜索"/>
	                                        </div>
	                                    </div>
                                	</form>
								</div>
							</div>
							<div class="table-responsive">
								<table class="table table-striped table-hover table-bordered">
									<thead>
										<tr>
											<th>ID</th>
											<th>时间</th>
											<th>用户名</th>
											<th>待收取数量</th>
											<th>被偷取数量</th>
											<th>已收取数量</th>
										</tr>
									</thead>
									<tbody>
										<volist name="list" id="vo">
											<tr>
												<td width="100">{$vo.miner_id}</td>
												<td width="100">{$vo.miner_date}</td>
												<td width="100">{$vo.nickname}</td>
												<td width="100">{$vo.user_dsq_money}</td>
												<td width="100">{$vo.user_btq_money}</td>
												<td width="100">{$vo.user_ysq_money}</td>
										</volist>
											
									</tbody>
								</table>
							</div>
							<div class="pages">
								{$show}
							</div>
						</div>
					</div>
				</div>

			</div>
		</div>
		<script src="__PUBLIC__/Admin/js/jquery.min.js?v=2.1.4"></script>
		<script src="__PUBLIC__/Admin/js/bootstrap.min.js?v=3.3.6"></script>
		<script src="__PUBLIC__/Admin/js/plugins/iCheck/icheck.min.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/layer/laydate/laydate.js"></script>
		<script src="__PUBLIC__/Common/layer/layer.js"></script>
	    <script>
			var start = { 
					elem: "#start", 
					format: "YYYY-MM-DD hh:mm:ss", 
					min: '', 
					max: laydate.now(), 
					istime: true, 
					istoday: false, 
					choose: function(datas) { 
						end.min = datas;
						end.start = datas 
					}
			};
			var end = { 
				elem: "#end", 
				format: "YYYY-MM-DD 23:59:59", 
				min: '', 
				max: laydate.now(), 
				istime: true, 
				istoday: false, 
				choose: function(datas) { 
					start.max = datas 
				}
			};
			laydate(start);
			laydate(end);
		</script>
		<script>
			$(document).ready(function() {
				$(".i-checks").iCheck({
					checkboxClass: "icheckbox_square-green",
					radioClass: "iradio_square-green",
				})
			});
		</script>
		<script>
			function del(id){
				layer.confirm('确定要删除吗？', {
				  	btn: ['确定','取消'] //按钮
				}, function(){
				  	window.location.href="__APP__/Admin/Robot/del/id/" + id + ""
				});
			}
		</script>
	</body>

	
</html>